package com.siwei.mes.entity.erp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * (Contractrelation)实体类
 *
 * @author linzi
 * @since 2024-09-24 20:07:56
 */
@Data
@Accessors(chain = true)
@Table(name = "contractrelation")
@ApiModel(value = "Contractrelation", description = "")
public class Contractrelation implements Serializable {
    private static final long serialVersionUID = -47888332984194397L;
    @Column(name = "CRID")
    @ApiModelProperty(value = "", name = "crid")
    private Integer crid;

    @Column(name = "contractNo")
    @ApiModelProperty(value = "合同编号", name = "contractno")
    private String contractno;

    @Column(name = "projectName")
    @ApiModelProperty(value = "工程民初", name = "projectname")
    private String projectname;

    @Column(name = "projectAddress")
    @ApiModelProperty(value = "工程地址", name = "projectaddress")
    private String projectaddress;

    @Column(name = "receiveCompanyName")
    @ApiModelProperty(value = "收货单位", name = "receivecompanyname")
    private String receivecompanyname;

    @Column(name = "linkMan")
    @ApiModelProperty(value = "工程联系人", name = "linkman")
    private String linkman;

    @Column(name = "linkTel")
    @ApiModelProperty(value = "联系电话", name = "linktel")
    private String linktel;

    @Column(name = "extraInfo")
    @ApiModelProperty(value = "工程扩展信息", name = "extrainfo")
    private String extrainfo;

    @Column(name = "createTime")
    @ApiModelProperty(value = "创建时间", name = "createtime")
    private Date createtime;

    @Column(name = "updateTime")
    @ApiModelProperty(value = "修改时间", name = "updatetime")
    private Date updatetime;

    @Column(name = "projectArea")
    @ApiModelProperty(value = "工程区域", name = "projectarea")
    private String projectarea;

    @Column(name = "thProjectId")
    @ApiModelProperty(value = "砼行工程id", name = "thprojectid")
    private Long thprojectid;

    @Column(name = "thContractId")
    @ApiModelProperty(value = "砼行合同id", name = "thcontractid")
    private Long thcontractid;

    @Column(name = "thLastSyncTime")
    @ApiModelProperty(value = "砼行最后同步时间", name = "thlastsynctime")
    private Date thlastsynctime;
    /**
     * 销售商
     */
    @Column(name = "seller")
    @ApiModelProperty(value = "销售商", name = "seller")
    private String seller;
    /**
     * 合同编号2
     */
    @Column(name = "secondNo")
    @ApiModelProperty(value = "合同编号2", name = "secondno")
    private String secondno;

    @Transient
    @ApiModelProperty(value = "任务单号")
    private Integer frwd;
}
